package com.itfreer.bpm.randomUtls;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
/**
 * 自由字段工具类
 * @author gj
 *
 */
public class RandomUtils {
	/**
	 * 创建自由字段
	 * @return
	 */
	public static String createRandomGuid() {
		Date ctime=new Date();
		SimpleDateFormat formate=new SimpleDateFormat ("yyyyMMddhhmmss");
		return formate.format(ctime)+UUID.randomUUID().toString().replaceAll("-", "");
	}	
}
